<?php
/**
 * @version		0.2.0 joomla zmluvy $
 * @package		com_zjmluvy
 * @copyright	Copyright © 2011 - All rights reserved.
 * @license		GNU/GPL
 * @author    AdrianKo		
 * @website   http://code.google.com/p/joomla-zmluvy
 *
 *
 *1.3.2012
 */

// no direct access
defined('_JEXEC') or die('Restricted access');

?>
  <table width="99%"  cellpadding="0" cellspacing="0">
    <tr>
      <td width="120">
        <?php echo JText::_('FILTER_TEXT')?>  
      </td>
      <td colspan="3">
        <input id="filter_search" type="text" name="filter_search" value="<?php echo $this->search; ?>" size="20" onchange="document.adminForm.submit( );" />
        <input type="submit" value="<?php echo JText::_('FILTER_TLAC')?>" />
  <input type="submit" onclick="document.getElementById('filter_search').value='';document.getElementById('filter_rok').value='';document.getElementById('filter_mesiac').value='';document.getElementById('filter_od').value='';document.getElementById('filter_do').value='';document.submit();" value="<?php echo JText::_('FILTER_RESET')?>" />
      </td>
    </tr>
    <tr>
      <td>
        <?php echo JText::_('FILTER_DAT_OBJEDNAVKY')?>  
      </td>
      <td colspan="3">
        <?php echo $this->lists['rok']; ?><?php echo $this->lists['mesiac']; ?>
      </td>                                        
    </tr>
    <?php if ($this->state == -1) : ?>
    <tr>
      <td>
        <?php echo JText::_('DATUMVYVESENI')?>  
      </td>
      <td width="190px">
        <?php // echo urednideskaHelper::calendar($this->datum['od'], "filter_od", "filter_od", '%d.%m.%Y', 'style="width: 80px;"'); ?>
      </td>
      <td  width="110px">
        <?php echo JText::_('DATUMSEJMUTI')?>  
      </td>
      <td>
        <?php // echo urednideskaHelper::calendar($this->datum['do'], "filter_do", "filter_do", '%d.%m.%Y', 'style="width: 80px;"'); ?>
      </td>
    </tr>
    <?php endif; ?>
  </table>
